package com.tgy.Filter;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/***
 * @ClassName: Test
 * @Description:
 * @Auther: 送一一块二向箔 dsds/portal_personl.jsp
 * @Date: 15:06 2022/1/20
 * @version : V1.0
 */
public class Test {
    public static void main(String[] args) {
        String a = ".*sasa.*|.*portal_personl.jsp*";

        Pattern p = Pattern.compile(a);
        Matcher m = p.matcher("/bomc/views/portal/portal_personl.jsp");
        boolean b = m.matches();
        System.out.println(b);
    }
}
